package com.ruoyan.dao;

import com.ruoyan.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * @Package: com.ruoyan.dao
 * @ClassName: UserMapper
 * @Author: ruoyan1998
 * @CreateTime: 2021/5/9 13:18
 * @Description:
 */
public interface UserMapper
{
    /**
     * 注册用户*/
    int signin(User user);

    User login(@Param("userName") String userName, @Param("password") String password);
}
